- 
		Home
	
 
	- 
AweBooking – Hotel Booking System
 
- 
3.2.26 (latest)
 
- 
Code
 
- 
Classes
 
-  Checkout 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											65 | 
										
																			
											| Dependencies | 
											25 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											593 | 
										
																			
											| Lines of code | 
											303 | 
										
																			
											| Logical lines of code | 
											154 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											183 | 
										
																			
											| Methods | 
											20 | 
										
																			
											| Properties | 
											4 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| create_booking_items() | 
									A  | 
																	44 | 
													9 | 
													41 | 
							
					
				| process() | 
									A  | 
																	47 | 
													8 | 
													34 | 
							
					
				| create_booking() | 
									S  | 
																	44 | 
													5 | 
													46 | 
							
					
				| validate_posted_data() | 
									S  | 
																	51 | 
													6 | 
													25 | 
							
					
				| validate_checkout() | 
									S  | 
																	61 | 
													5 | 
													11 | 
							
					
				| create_service_items() | 
									S  | 
																	54 | 
													4 | 
													21 | 
							
					
				| output_received() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_awaiting_booking() | 
									S  | 
																	60 | 
													4 | 
													14 | 
							
					
				| create_taxes_items() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| create_fees_items() | 
									S  | 
																	58 | 
													3 | 
													15 | 
							
					
				| output() | 
									S  | 
																	61 | 
													3 | 
													13 | 
							
					
				| process_payment() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| get_controls() | 
									S  | 
																	65 | 
													2 | 
													10 | 
							
					
				| __construct() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| update_session() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| process_without_payment() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| get_current_payment_method() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| resume_awating_booking() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| process_customer() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_posted_data() | 
									S  | 
																	69 | 
													1 | 
													6 |